package com.ice.delay.task.dao;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.ice.delay.task.core.model.DelayTaskLock;
import com.ice.delay.task.core.model.DelayTaskModule;
import org.apache.ibatis.annotations.Mapper;

/**
 * @author wangwei
 * @Date 2022/5/30 22:16
 */
@Mapper
public interface DelayTaskLockDao extends BaseMapper<DelayTaskLock> {

    /**
     * 获取锁
     * @Author wangwei
     * @Date 2022/5/30
     */
    DelayTaskLock selectLock();

    DelayTaskLock selectInitLock();
}
